package com.sinosoft.ptas.control.dto;
import com.sinosoft.ptas.entity.TargetAttributeEntity;
import com.sinosoft.ptas.system.util.PtasObjectUtil;

/**
 * 目标属性传输类
 * @author lianWuJun
 * @time   2017年2月25日 下午4:51:02
 */
public class TargetAttributeData {
	   private String id;//编号
	   private String pcid;//项目类别编号
	   private String pcname;//项目类别名称
	   private String oid;//其他司编号
	   private String oname;//所属司局编号
	   private String remark;
	   private String targetAttribute;//项目名称
	   private String creater;//创建者
	   private String createTime;//创建时间
	   private String updater;//更新者
	   private String updateTime;//更新时间
	   
	   
	   public String getPcid() {
		return pcid;
	}
	public void setPcid(String pcid) {
		this.pcid = pcid;
	}
	public String getPcname() {
		return pcname;
	}
	public void setPcname(String pcname) {
		this.pcname = pcname;
	}
	public String getId() {
	   	return id;
	   }
	   public void setId(String id) {
	   	this.id = id;
	   }
	 
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getTargetAttribute() {
		return targetAttribute;
	}
	public void setTargetAttribute(String targetAttribute) {
		this.targetAttribute = targetAttribute;
	}
	public String getCreater() {
	   	return creater;
	   }
	   public void setCreater(String creater) {
	   	this.creater = creater;
	   }
	   
	   public String getOid() {
		return oid;
	}
	public void setOid(String oid) {
		this.oid = oid;
	}
	public String getOname() {
		return oname;
	}
	public void setOname(String oname) {
		this.oname = oname;
	}
	public String getUpdater() {
	   	return updater;
	   }
	   public void setUpdater(String updater) {
	   	this.updater = updater;
	   }
	   
	   public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}
	/**
		 * 传输类转化成实体类
		 */
		public TargetAttributeEntity toEntity(){
			TargetAttributeEntity targetAttributeEntity = new TargetAttributeEntity();
			PtasObjectUtil.oldToNew(targetAttributeEntity, this, "serialVersionUID");
			return targetAttributeEntity;
		}
		
		/**
		 * 实体类转化成传输类
		 */
		public void toTargetAttributeData(TargetAttributeEntity targetAttributeEntity){
			PtasObjectUtil.oldToNew(this, targetAttributeEntity, "serialVersionUID");
		}
	 
}
